package com.authine.cloudpivot.web.api.secondopen.dao;

import com.authine.cloudpivot.web.api.secondopen.domain.TableObj;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SharedPoolMapper {

    void updatestatus(@Param("tablename") String tablename,@Param("objId") String objId,@Param("status") String status);

    void insertData(@Param("dto")TableObj tableObj);

    void updatePool(@Param("id") String id,@Param("procode") String procode,@Param("status") String status);

    List<TableObj> getSharedPool(@Param("proname") String processName,@Param("seqno") String sequenceNo);

    void deleteSharedPool(@Param("id") String id,@Param("seqno") String seqno);

    String selectData(@Param("id") String id,@Param("seqno") String seqno);

    void deleteWorkToken(@Param("instanceid") String instanceid);

    void updateSystemActivity(@Param("instanceid") String instanceid);

    void deleteToDoTasks(@Param("instanceid") String insertAll);

    void setlqr(@Param("tablename")String tablename,@Param("objid") String objid,@Param("lqr") String lqr);

    String selectDataStatus(@Param("objId") String objId,@Param("seqNo") String seqNo);
}

